<include file="public@header"/>
<section class="path-nav">
    <div class="path-nav-box">
        <a href="/">首页</a>
        <span> > </span>
        <a href="/tag/lists">标签大全</a>
        <span> > </span>
        <a href="/tag/{$tag.id}.html">{$tag.name}</a>
    </div>
</section>
<section class="section-theme tab-nav">
    <div class="theme-box">
        <h2 class="title">{$tag.name}</h2>
        <p class="detail">
            {$tag.desc}
        </p>
    </div>
</section>
<!--header-web-->
<div id="container-page">
    <aside id="sitebar">
        <a href="#" target="_blank"> <img width="364" height="182" src="__TMPL__/public/assets/images/e.png" class="image wp-image-2095  attachment-full size-full" alt="" style="max-width: 100%; height: auto;" /></a>
        <script type="text/javascript">
            $(function () {
                var elm = $('.totop');
                var startPos = $(elm).offset().top;
                $.event.add(window, "scroll", function () {
                    var p = $(window).scrollTop();
                    $(elm).css('position', ((p) > startPos) ? 'fixed' : 'static');
                    $(elm).css('top', ((p) > startPos) ? '0px' : '');
                });
            });
        </script>
    </aside>
    <article class="box">
        <!--最新文章-->
        <volist name="relateData" id="v">
            <section class="list">
                <h2 class="mecctitle">
                    <a href="{$v.real_url}" target="_blank">
                        {$v.post_title}
                    </a>
                </h2>

            <span class="titleimg">
                <a href="{$v.real_url}" target="_blank">
                    <empty name="v.thumbnail">
                        <img width="1000" height="556" src="/themes/quick_start/public/assets/images/sw-1000x556.png"
                             class="attachment-thumbnail size-thumbnail wp-post-image" title="{$v.post_title}" alt="{$v.post_title}"
                             srcset="/themes/quick_start/public/assets/images/sw-1000x556.png 1000w, /themes/quick_start/public/assets/images/sw-1000x556.png 768w" sizes="(max-width: 1000px) 100vw, 1000px"/>
                        <else/>
                        <if condition="strpos($v['thumbnail'],'http') === 0">
                            <img width="1000" height="556" src="{$v.thumbnail}"
                                 class="attachment-thumbnail size-thumbnail wp-post-image" title="{$v.post_title}" alt="{$v.post_title}"
                                 srcset="{$v.thumbnail} 1000w, {$v.thumbnail} 768w" sizes="(max-width: 1000px) 100vw, 1000px"/>

                            <else />
                            <img width="1000" height="556" src="/upload/{$v.thumbnail}"
                                 class="attachment-thumbnail size-thumbnail wp-post-image" title="{$v.post_title}" alt="{$v.post_title}"
                                 srcset="/upload/{$v.thumbnail} 1000w, /upload/{$v.thumbnail} 768w" sizes="(max-width: 1000px) 100vw, 1000px"/>
                        </if>

                    </empty>
                </a>
            </span>

                <time class="">
                    {:date("Y.m.d",$v.create_time)} &nbsp;<eq name="v.is_top" value="1"><span class="zan">Hot</span></eq>
                </time>

                <div class="zaiyao">
                    <p>{$v.post_excerpt}</p>
                </div>
                <div class="list-tab">
                    <volist name="v.taglist" id="vv">
                        <a href="{$vv.real_url}" class="tab">{$vv.name}</a>
                    </volist>
                </div>
            </section>
        </volist>



        <!--分页完成-->
        <div style="display:block;margin: 20px auto;">
            {$pages}
        </div>
    </article>
    <div id="post-read-more">

    </div>
</div>
<!--Container End-->
<include file="public@footer"/>